<?php
	$list=array(	array(
						  'Web',
						  '0722212 , 0722213'
						  ),
					array(
						  'jQuery',
						  '0722211'
						  ),
					array(
						  'Conformance ',
						  '0722213',
						  ),
					array(
						  'Enlightenment',
						  '0722212'
						  ),
					array(
						  'php',
						  '0722212'
						  ),
					array(
						  'User Agent',
						  '0722212'
						  ),
					array(
						  'Visual Enlightenment for the Web',
						  '0722212 , 0722213'
						  )
				);
	?>
	
    <!--start activate-wrap-->
    <div class="list activate-wrap">
    			<table cellpadding="1" class="sortTable" id="sortTable">
				<thead>
				<tr>
					<th width="400"><p>我任教的课程</p></th>
					<th><p>上此课程的班级</p></th>
				</tr>
			</thead>
   
			<tbody> 
		<?php 
		
			for($i=0;$i<count($list);$i++){
				?>
                <tr class="toggle">
               		<td><a class="type" href="index.php?select=arrange"><?php echo $list[$i][0]; ?></a></td>
                    <td>
                    	<?php echo $list[$i][1]; ?></td>
                    </td>
                </tr>			
          <?php
			}
			?>
			</tbody>
		</table>

    </div>
    <!--end activate-wrap-->
    <script>
	$('ul.selectNav li').eq(1).addClass('current');
	</script>